﻿<xctk:ChildWindow x:Class="TubeStar.ViewVideoDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
        xmlns:local="clr-namespace:TubeStar" 
        Caption="View Video"
        WindowStartupLocation="Center"
        Closed="ChildWindow_Closed">
    
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="370"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>

        <WebBrowser Grid.Row="0" x:Name="webView" LoadCompleted="wb_LoadCompleted" Width="640" Height="370" Margin="2" />
        <ScrollViewer Grid.Row="1" Margin="5">
            <StackPanel Orientation="Vertical">
                <TextBlock x:Name="lblComments" Grid.Row="0" Text="Comments:" FontSize="22" Margin="0,10,0,5" />
                <StackPanel Grid.Row="1" Margin="0,5,0,10" x:Name="commentStack" MaxWidth="660">
                </StackPanel>
            </StackPanel>
        </ScrollViewer>

        <StackPanel Grid.Row="2" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button x:Name="btnOk" Width="120" Height="30" Content="OK" Margin="3,3,3,3" Click="OKButton_Click"/>
        </StackPanel>
    </Grid>

</xctk:ChildWindow>
